* { /* Mise à zéro des marges internes / externes */
    padding:0;
    margin:0;	
}

body {
    // background: url('images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color:#707070;
    font-family: Arial, Helvetica, sans-serif;	
    font-size:0.75em;
}

/* Animation CSS */
@-webkit-keyframes fromtop {
    0% { margin: -200px auto; }
    50% { margin: 220px auto; }
    75% { margin: 180px auto; }
    100% { margin: 200px auto; }
}

@-moz-keyframes fromtop {
    0% { margin: -200px auto; }
    50% { margin: 220px auto; }
    75% { margin: 180px auto; }
    100% { margin: 200px auto; }
}

@-ms-keyframes fromtop {
    0%   { margin: -200px auto; }
    50% { margin: 220px auto; }
    75% { margin: 180px auto; }
    100% { margin: 200px auto; }
}

@-o-keyframes fromtop {
    0%   { margin: -200px auto; }
    50% { margin: 220px auto; }
    75% { margin: 180px auto; }
    100% { margin: 200px auto; }
}

@keyframes fromtop {
    0%   { margin: -200px auto; }
    50% { margin: 220px auto; }
    75% { margin: 180px auto; }
    100% { margin: 200px auto; }
}


/* Div conteneur */
.loginbox {
    width:300px;
    margin:200px auto;
    border-radius:3px;
    background:#fff;
    box-shadow:
        0 1px 1px rgba(0, 0, 0, .3),
        0 3px 0 #fff,
        0 4px 0 rgba(0, 0, 0, .3),
        0 6px 0 #fff,
        0 7px 0 rgba(0, 0, 0, .3),
        0 0 7px rgba(0,0,0, .3);
    padding:20px;
    overflow:hidden;
    -webkit-animation: fromtop 1s none;
    -moz-animation: fromtop 1s none;
    -o-animation: fromtop 1s none;
    -ms-animation: fromtop 1s none;
    animation: fromtop 1s none;
} 

.loginbox h4 {
    font-size:1.25em;
    border-bottom:1px dashed rgba(0,0,0,0.2);
    margin-bottom:20px;
    padding-bottom:10px;
    font-weight:400;
}

/* Champ du formulaire : nom d'utilisateur et password */
input[type=text], input[type=password] {
    padding:10px 10px 10px 35px;
    margin-bottom:10px;
    width:100%;
    border:1px solid #ddd;
    border-radius:3px;
    background-color:#fafafa;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color:#aaa;
}

input[type=text] {
    background:url('images/user.png') #fafafa 10px center no-repeat;	
}

input[type=password] {
    background:url('images/locked.png') #fafafa 10px center no-repeat;	
}

input[type=text]:focus, input[type=password]:focus {
    outline:0;
    border:1px solid #007e18;
    box-shadow:0 0 5px rgba(0,0,0,0.2);
}

/* Bouton d'envoi */
input[type=submit] {
    background: #007e18;
    background: -moz-linear-gradient(top,  #007e18 0%, #026615 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#007e18), color-stop(100%,#026615));
    background: -webkit-linear-gradient(top,  #007e18 0%,#026615 100%);
    background: -o-linear-gradient(top,  #007e18 0%,#026615 100%);
    background: -ms-linear-gradient(top,  #007e18 0%,#026615 100%);
    background: linear-gradient(top,  #007e18 0%,#026615 100%);
    color:#fff;
    border:1px solid #4e92c7;
    border-radius:3px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
    text-shadow:0 1px 0 rgba(0,0,0,0.25);
    padding:10px;
    float:right;
    width:100px;
    cursor:pointer;

}

input[type="submit"]:hover {
    color:#007e18;
    text-shadow:0 1px 0 rgba(255,255,255,0.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.3), 0 0 3px rgba(0,0,0,0.4);	
}

input[type=submit]:active {
    background: -moz-linear-gradient(top,  #007e18 0%, #007e18 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#026615), color-stop(100%,#007e18));
    background: -webkit-linear-gradient(top,  #026615 0%,#007e18 100%);
    background: -o-linear-gradient(top,  #026615 0%,#007e18 100%);
    background: -ms-linear-gradient(top,  #026615 0%,#007e18 100%);
    background: linear-gradient(top,  #026615 0%,#007e18 100%);	
    box-shadow:inset 0 -1px 0 rgba(255,255,255,0.3);
}

/* Liste */
.loginbox ul {
    list-style:none;
    float:left;
    font-size:0.9em;
    line-height:1.75em;
}

.loginbox a {
    color:#007e18;
    text-decoration:none;
}

/* Formulaire de récupération du mot de passe */
#getpwd {
    display:none;	
}

#getpwd input[type=text] {
    float:left;
    width:65%;
    padding-right:10px;	
}

#getpwd input[type=submit] {
    padding:10px;
}

#getpwd ul {
    float:right;
    margin-top:10px;
}